#pragma once
//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#include "PktDefs.h"
#include <VxUtilLib/VxPktHdr.h>

#pragma pack(push) 
#pragma pack(1)
class PktKeyReq : public VxPktHdr
{
public:
	PktKeyReq();

	unsigned short u16PktLibVersion;	// Packet Library Version Number
	unsigned short u16CapFlags;			// capabilities flags
	unsigned short u16OsType;			// OS runing calling app, 0 = windows 1 = linux 2 = other
	char as8Res[ 16 ];					// reservered for future use
	unsigned long u32AppVersion;		// Application version number
	char as8AppVersion[ MAX_APP_VERSION_STR_LEN + 1 ];	// Application name and version
	unsigned char au8PublicKey[ MAX_PUBLIC_KEY_LEN ];	// Public Key for key exchange
	char as8LogOnName[ PKT_MAX_LOGIN_NAME_LEN + 1 ];		// Log On Name
};
#pragma pack(pop)







